<?php
//获取直播地址
		defined('BY_JYA') or exit('error');
		list($number)=$arguments;
		//$source 直播源，[设备序列号]:[通道号],[设备序列号]:[通道号]的形式，例如427734222:1,423344555:3，均采用英文符号	
		$token=$this->gettoken();
		$data=array('accessToken'=>$token,'Resource'=>'dev:'.$number,'deviceSerial'=>$number,'protocol'=>2);
		$url = 'https://open.ys7.com/api/lapp/v2/live/address/get';
		$result = cfc('http')->ihttp_post($url, $data);
		$result =@json_decode($result['content'],true);
		//print_r($result);exit;
		if($result['code']!='200'){
			exi('获取视频地址失败:'.$result['msg'],'error');
		}else{
			if($result['data']['exception']!=0){
				exi('异常:'.$result['data']['exception'],'error');
			}
			$result['data']['accessToken']=$token;
			return $result['data'];
		}
